import axios from '@/api/fetch';
//import * as types from './types';
import SERVER from '@/api/server';

//新增的保存
export const saveOne = params => axios.post(`${SERVER.DMSCLOUD_REPAIR}/tmRepairAddItem/saveOne`,  params );

//修改
export const updateById = params => axios.post(`${SERVER.DMSCLOUD_REPAIR}/tmRepairAddItem/updateById`,  params );

//分页查询
export const getListByPage = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/tmRepairAddItem/selectRepairItem`,  {params} );
